package a.j;

import java.awt.*;
import java.awt.geom.AffineTransform;
import java.awt.geom.Ellipse2D;
import java.awt.geom.GeneralPath;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.Vector;

public final class ab
{
  private static final Hashtable a = new Hashtable(32);
  private static final ab[] b = new ab[23];
  private static double d = 0.0D;
  public static final ab e;
  public static final ab f;
  public static final ab g;
  public static final ab h;
  public static final ab i;
  public static final ab j;
  public static final ab k;
  public static final ab l;
  public static final ab m;
  public static final ab n;
  public static final ab o;
  public static final ab p;
  public static final ab q;
  public static final ab r;
  public static final ab s;
  public static final ab t;
  public static final ab u;
  public static final ab v;
  public static final ab w;
  public static final ab x;
  public static final ab y;
  public static final ab z;
  public static final byte A = 0;
  public static final byte B = 1;
  public static final byte C = 2;
  public static final byte D = 3;
  public static final byte E = 4;
  public static final byte F = 5;
  public static final byte G = 6;
  public static final byte H = 7;
  public static final byte I = 8;
  public static final byte J = 9;
  public static final byte K = 10;
  public static final byte L = 11;
  public static final byte M = 12;
  public static final byte N = 13;
  public static final byte O = 14;
  public static final byte P = 15;
  public static final byte Q = 16;
  public static final byte R = 17;
  public static final byte S = 18;
  public static final byte T = 19;
  public static final byte U = 20;
  public static final byte V = 21;
  public static final byte W = 22;
  private Color X;
  private Shape Y;
  private byte Z;
  private String ab;
  private double bb;
  private double cb;
  private Color db;
  private Stroke eb = c.e;
  private qb fb;
  public static int gb;
  
  public static double a()
  {
    return d;
  }
  
  public static void a(double paramDouble)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    d = paramDouble;
    int i1 = 0;
    do
    {
      if (i1 >= b.length) {
        break;
      }
      ab localab = b[i1];
      if (!bool2)
      {
        if (localab != null) {
          localab.cb = paramDouble;
        }
        i1++;
      }
    } while (!bool1);
  }
  
  private ab(Shape paramShape, Color paramColor1, Stroke paramStroke, Color paramColor2)
  {
    a(paramShape, paramColor1, paramStroke, paramColor2, 0.0D, 0.0D);
  }
  
  private ab(Shape paramShape, Color paramColor1, Stroke paramStroke, Color paramColor2, double paramDouble1, double paramDouble2)
  {
    a(paramShape, paramColor1, paramStroke, paramColor2, paramDouble1, paramDouble2);
  }
  
  private ab(Shape paramShape, Color paramColor, double paramDouble1, double paramDouble2)
  {
    a(paramShape, paramColor, c.e, null, paramDouble1, paramDouble2);
  }
  
  private ab(qb paramqb, double paramDouble1, double paramDouble2)
  {
    this.Z = 0;
    this.fb = paramqb;
    this.bb = paramDouble1;
    this.cb = paramDouble2;
  }
  
  private void a(Shape paramShape, Color paramColor1, Stroke paramStroke, Color paramColor2, double paramDouble1, double paramDouble2)
  {
    if (paramShape == null) {
      paramShape = a((byte)1).Y;
    } else {
      this.Y = paramShape;
    }
    this.cb = paramDouble2;
    this.bb = paramDouble1;
    this.X = paramColor1;
    this.eb = paramStroke;
    this.db = paramColor2;
    this.Z = 0;
  }
  
  public static ab a(String paramString, Shape paramShape, Color paramColor)
  {
    return a(paramString, paramShape, paramColor, c.e, null);
  }
  
  public static ab a(String paramString, ab paramab, double paramDouble)
  {
    return c(paramString, paramab, paramDouble);
  }
  
  private static ab c(String paramString, ab paramab, double paramDouble)
  {
    ab localab = new ab(new k_(paramab), paramab.f(), paramab.g() + paramDouble);
    localab.ab = paramString;
    a.put(paramString, localab);
    return localab;
  }
  
  public static ab a(String paramString, Shape paramShape, Color paramColor1, Stroke paramStroke, Color paramColor2)
  {
    ab localab = new ab(paramShape, paramColor1, paramStroke, paramColor2);
    localab.ab = paramString;
    a.put(paramString, localab);
    return localab;
  }
  
  public static ab a(String paramString, Shape paramShape, Color paramColor1, Stroke paramStroke, Color paramColor2, double paramDouble1, double paramDouble2)
  {
    ab localab = new ab(paramShape, paramColor1, paramStroke, paramColor2, paramDouble1, paramDouble2);
    localab.ab = paramString;
    a.put(paramString, localab);
    return localab;
  }
  
  public static ab a(String paramString, qb paramqb)
  {
    ab localab = new ab(paramqb, 0.0D, 0.0D);
    localab.ab = paramString;
    a.put(paramString, localab);
    return localab;
  }
  
  public static ab a(String paramString, qb paramqb, double paramDouble1, double paramDouble2)
  {
    ab localab = new ab(paramqb, paramDouble1, paramDouble2);
    localab.ab = paramString;
    a.put(paramString, localab);
    return localab;
  }
  
  public static ab a(String paramString)
  {
    if (!ld.E) {
      if (!a.containsKey(paramString)) {
        return null;
      }
    }
    return (ab)a.get(paramString);
  }
  
  public static Vector b()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    ArrayList localArrayList = new ArrayList(a.size());
    localArrayList.addAll(a.values());
    int i1 = 0;
    do
    {
      if (i1 >= b.length) {
        break;
      }
      ab localab1 = b[i1];
      localArrayList.remove(localab1);
      i1++;
    } while (!bool1);
    Vector localVector = new Vector();
    int i2 = 0;
    do
    {
      do
      {
        if (i2 >= b.length) {
          break;
        }
        ab localab2 = b[i2];
        if (bool1) {
          return localVector;
        }
        if (localab2 != null) {
          localVector.add(localab2);
        }
        i2++;
      } while (!bool1);
    } while (bool2);
    localVector.addAll(localArrayList);
    return localVector;
  }
  
  public static ab a(byte paramByte)
  {
    return b[paramByte];
  }
  
  public byte c()
  {
    return this.Z;
  }
  
  public String d()
  {
    return this.ab;
  }
  
  public Shape e()
  {
    return this.Y;
  }
  
  public void a(Graphics2D paramGraphics2D, double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    AffineTransform localAffineTransform = new AffineTransform(paramDouble3, paramDouble4, -paramDouble4, paramDouble3, paramDouble1, paramDouble2);
    a(paramGraphics2D, localAffineTransform);
  }
  
  public void a(Graphics2D paramGraphics2D, AffineTransform paramAffineTransform)
  {
    boolean bool = ld.E;
    Object localObject1;
    if ((bool) || (this.fb == null))
    {
      if (!bool) {
        if (this == e) {
          return;
        }
      }
      if (this.X != null)
      {
        localObject1 = paramAffineTransform.createTransformedShape(this.Y);
        Color localColor = paramGraphics2D.getColor();
        Stroke localStroke = paramGraphics2D.getStroke();
        paramGraphics2D.setColor(this.X);
        paramGraphics2D.fill((Shape)localObject1);
        paramGraphics2D.setStroke(this.eb);
        if (!bool) {}
        paramGraphics2D.setColor(this.db != null ? this.db : localColor);
        paramGraphics2D.draw((Shape)localObject1);
        paramGraphics2D.setColor(localColor);
        paramGraphics2D.setStroke(localStroke);
        if ((!bool) && (!ld.D)) {}
      }
      else
      {
        try
        {
          localObject1 = paramAffineTransform.createTransformedShape(this.Y);
          paramGraphics2D.fill((Shape)localObject1);
          return;
        }
        finally {}
      }
    }
    else
    {
      localObject1 = paramGraphics2D.getTransform();
      paramGraphics2D.transform(paramAffineTransform);
      this.fb.paint(paramGraphics2D);
      paramGraphics2D.setTransform((AffineTransform)localObject1);
    }
  }
  
  public double f()
  {
    return this.bb;
  }
  
  public double g()
  {
    return this.cb;
  }
  
  static
  {
    GeneralPath localGeneralPath = new GeneralPath(1, 6);
    localGeneralPath.moveTo(0.0F, 0.0F);
    localGeneralPath.lineTo(-12.0F, -5.0F);
    localGeneralPath.lineTo(-9.0F, 0.0F);
    localGeneralPath.lineTo(-12.0F, 5.0F);
    localGeneralPath.closePath();
    f = new ab(localGeneralPath, null, 8.0D, 0.0D);
    localGeneralPath = new GeneralPath(1, 6);
    localGeneralPath.moveTo(0.0F, 0.0F);
    localGeneralPath.lineTo(-12.0F, -6.0F);
    localGeneralPath.lineTo(-12.0F, 6.0F);
    localGeneralPath.closePath();
    g = new ab(localGeneralPath, null, 11.0D, 0.0D);
    localGeneralPath = new GeneralPath(1, 6);
    localGeneralPath.moveTo(0.0F, 0.0F);
    localGeneralPath.lineTo(-16.0F, -6.0F);
    localGeneralPath.lineTo(-16.0F, 6.0F);
    localGeneralPath.closePath();
    h = new ab(localGeneralPath, Color.white, 15.0D, 0.0D);
    localGeneralPath = new GeneralPath(1, 6);
    localGeneralPath.moveTo(0.0F, 0.0F);
    localGeneralPath.lineTo(-7.0F, 5.0F);
    localGeneralPath.lineTo(-14.0F, 0.0F);
    localGeneralPath.lineTo(-7.0F, -5.0F);
    localGeneralPath.closePath();
    i = new ab(localGeneralPath, null, 7.0D, 0.0D);
    k = new ab(localGeneralPath, Color.white, 7.0D, 0.0D);
    localGeneralPath = new GeneralPath(1, 6);
    localGeneralPath.moveTo(0.0F, 0.0F);
    localGeneralPath.lineTo(-8.0F, -6.0F);
    localGeneralPath.lineTo(-5.0F, 0.0F);
    localGeneralPath.lineTo(-8.0F, 6.0F);
    localGeneralPath.closePath();
    j = new ab(localGeneralPath, null, 4.0D, 0.0D);
    localGeneralPath = new GeneralPath(1, 6);
    localGeneralPath.moveTo(0.0F, 0.0F);
    localGeneralPath.closePath();
    e = new ab(localGeneralPath, null, 0.0D, 0.0D);
    BasicStroke localBasicStroke = new BasicStroke();
    localGeneralPath = new GeneralPath(1, 6);
    localGeneralPath.moveTo(-1.0F, 0.0F);
    localGeneralPath.lineTo(-13.0F, -6.0F);
    localGeneralPath.lineTo(-1.0F, 0.0F);
    localGeneralPath.lineTo(-13.0F, 6.0F);
    localGeneralPath.closePath();
    l = new ab(localGeneralPath, Color.black, localBasicStroke, null, 5.0D, 0.0D);
    qb local0 = new qb()
    {
      GeneralPath a = new GeneralPath(1, 3);
      GeneralPath b = new GeneralPath(1, 3);
      
      public Rectangle getBounds()
      {
        return null;
      }
      
      public void paint(Graphics2D paramAnonymousGraphics2D)
      {
        Stroke localStroke = paramAnonymousGraphics2D.getStroke();
        paramAnonymousGraphics2D.setStroke(c.e);
        paramAnonymousGraphics2D.draw(this.a);
        paramAnonymousGraphics2D.draw(this.b);
        paramAnonymousGraphics2D.setStroke(localStroke);
      }
    };
    m = new ab(local0, 5.5D, 1.0D);
    qb local1 = new qb()
    {
      GeneralPath a = new GeneralPath(1, 3);
      GeneralPath b = new GeneralPath(1, 3);
      
      public Rectangle getBounds()
      {
        return null;
      }
      
      public void paint(Graphics2D paramAnonymousGraphics2D)
      {
        Stroke localStroke = paramAnonymousGraphics2D.getStroke();
        paramAnonymousGraphics2D.setStroke(c.e);
        paramAnonymousGraphics2D.draw(this.a);
        paramAnonymousGraphics2D.draw(this.b);
        paramAnonymousGraphics2D.setStroke(localStroke);
      }
    };
    n = new ab(local1, 3.0D, 0.0D);
    Color localColor = new Color(0, 0, 0, 0);
    Ellipse2D.Double localDouble = new Ellipse2D.Double(-4.0D, -4.0D, 8.0D, 8.0D);
    o = new ab(localDouble, null, 4.0D, 0.0D);
    p = new ab(localDouble, localColor, 4.0D, 0.0D);
    localGeneralPath = new GeneralPath(1, 6);
    localGeneralPath.moveTo(-8.0F, -4.0F);
    localGeneralPath.lineTo(-8.0F, 4.0F);
    localGeneralPath.closePath();
    q = new ab(localGeneralPath, Color.black, localBasicStroke, null, 0.0D, 0.0D);
    localGeneralPath = new GeneralPath(1, 6);
    localGeneralPath.moveTo(-12.0F, -4.0F);
    localGeneralPath.lineTo(-4.0F, 4.0F);
    localGeneralPath.closePath();
    r = new ab(localGeneralPath, Color.black, localBasicStroke, null, 0.0D, 0.0D);
    localGeneralPath = new GeneralPath(1, 6);
    localGeneralPath.moveTo(-2.0F, -5.0F);
    localGeneralPath.lineTo(-2.0F, 5.0F);
    localGeneralPath.closePath();
    s = new ab(localGeneralPath, Color.black, localBasicStroke, null, 2.0D, 0.0D);
    c_ local3 = new c_()
    {
      void a(Graphics2D paramAnonymousGraphics2D)
      {
        b(paramAnonymousGraphics2D);
        d(paramAnonymousGraphics2D);
      }
    };
    t = new ab(local3, 0.0D, 0.0D);
    c_ local4 = new c_()
    {
      void a(Graphics2D paramAnonymousGraphics2D)
      {
        b(paramAnonymousGraphics2D);
        f(paramAnonymousGraphics2D);
      }
    };
    u = new ab(local4, 9.0D, 0.0D);
    c_ local5 = new c_()
    {
      void a(Graphics2D paramAnonymousGraphics2D)
      {
        g(paramAnonymousGraphics2D);
        d(paramAnonymousGraphics2D);
      }
    };
    v = new ab(local5, 0.0D, 0.0D);
    c_ local6 = new c_()
    {
      void a(Graphics2D paramAnonymousGraphics2D)
      {
        g(paramAnonymousGraphics2D);
        f(paramAnonymousGraphics2D);
      }
    };
    w = new ab(local6, 9.0D, 0.0D);
    x = new ab(new c_()
    {
      void a(Graphics2D paramAnonymousGraphics2D)
      {
        e(paramAnonymousGraphics2D);
      }
    }, 0.0D, 0.0D);
    y = new ab(new c_()
    {
      void a(Graphics2D paramAnonymousGraphics2D)
      {
        f(paramAnonymousGraphics2D);
      }
    }, 9.0D, 0.0D);
    z = new ab(new c_()
    {
      void a(Graphics2D paramAnonymousGraphics2D)
      {
        g(paramAnonymousGraphics2D);
      }
    }, 0.0D, 0.0D);
    a.put("Arrow.STANDARD", f);
    a.put("Arrow.DELTA", g);
    a.put("Arrow.WHITE_DELTA", h);
    a.put("Arrow.DIAMOND", i);
    a.put("Arrow.WHITE_DIAMOND", k);
    a.put("Arrow.SHORT", j);
    a.put("Arrow.NONE", e);
    a.put("Arrow.PLAIN", l);
    a.put("Arrow.CONCAVE", m);
    a.put("Arrow.CONVEX", n);
    a.put("Arrow.CIRCLE", o);
    a.put("Arrow.TRANSPARENT_CIRCLE", p);
    a.put("Arrow.DASH", q);
    a.put("Arrow.SKEWED_DASH", r);
    a.put("Arrow.T_SHAPE", s);
    a.put("Arrow.CROWS_FOOT_ONE_OPTIONAL", v);
    a.put("Arrow.CROWS_FOOT_ONE_MANDATORY", t);
    a.put("Arrow.CROWS_FOOT_MANY_OPTIONAL", w);
    a.put("Arrow.CROWS_FOOT_ONE_OPTIONAL", v);
    a.put("Arrow.CROWS_FOOT_ONE", x);
    a.put("Arrow.CROWS_FOOT_MANY", y);
    a.put("Arrow.CROWS_FOOT_OPTIONAL", z);
    b[1] = e;
    b[2] = f;
    b[3] = g;
    b[4] = h;
    b[5] = i;
    b[6] = k;
    b[7] = j;
    b[8] = l;
    b[9] = m;
    b[10] = n;
    b[11] = o;
    b[12] = p;
    b[13] = q;
    b[14] = r;
    b[15] = s;
    b[16] = t;
    b[17] = u;
    b[18] = v;
    b[19] = w;
    b[20] = x;
    b[21] = y;
    b[22] = z;
    e.Z = 1;
    f.Z = 2;
    g.Z = 3;
    h.Z = 4;
    i.Z = 5;
    k.Z = 6;
    j.Z = 7;
    l.Z = 8;
    m.Z = 9;
    n.Z = 10;
    o.Z = 11;
    p.Z = 12;
    q.Z = 13;
    r.Z = 14;
    s.Z = 15;
    t.Z = 16;
    u.Z = 17;
    v.Z = 18;
    w.Z = 19;
    x.Z = 20;
    y.Z = 21;
    z.Z = 22;
  }
  
  private static abstract class c_
    implements qb
  {
    private final Ellipse2D a = new Ellipse2D.Double(-20.0D, -5.0D, 10.0D, 10.0D);
    
    public Rectangle getBounds()
    {
      return null;
    }
    
    public void paint(Graphics2D paramGraphics2D)
    {
      Stroke localStroke = paramGraphics2D.getStroke();
      paramGraphics2D.setStroke(c.e);
      a(paramGraphics2D);
      paramGraphics2D.setStroke(localStroke);
    }
    
    void a(Graphics2D paramGraphics2D) {}
    
    void b(Graphics2D paramGraphics2D)
    {
      paramGraphics2D.drawLine(-15, -8, -15, 8);
    }
    
    void c(Graphics2D paramGraphics2D)
    {
      paramGraphics2D.drawLine(-10, 0, 2, 8);
      paramGraphics2D.drawLine(-10, 0, 2, 0);
      paramGraphics2D.drawLine(-10, 0, 2, -8);
    }
    
    void d(Graphics2D paramGraphics2D)
    {
      paramGraphics2D.drawLine(-6, -8, -6, 8);
    }
    
    void e(Graphics2D paramGraphics2D)
    {
      paramGraphics2D.drawLine(-10, -8, -10, 8);
    }
    
    void f(Graphics2D paramGraphics2D)
    {
      Shape localShape = paramGraphics2D.getClip();
      paramGraphics2D.clipRect(-12, -10, 12, 20);
      c(paramGraphics2D);
      paramGraphics2D.setClip(localShape);
    }
    
    void g(Graphics2D paramGraphics2D)
    {
      Color localColor = paramGraphics2D.getColor();
      paramGraphics2D.setColor(Color.WHITE);
      paramGraphics2D.fill(this.a);
      paramGraphics2D.setColor(localColor);
      paramGraphics2D.draw(this.a);
    }
  }
  
  static final class k_
    implements qb
  {
    private final ab a;
    
    k_(ab paramab)
    {
      this.a = paramab;
    }
    
    public void paint(Graphics2D paramGraphics2D)
    {
      this.a.a(paramGraphics2D, 0.0D, 0.0D, 1.0D, 0.0D);
    }
    
    public Rectangle getBounds()
    {
      return new Rectangle(0, 0, 100, 100);
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.ab

 * JD-Core Version:    0.7.0.1

 */